// 引入
import requests from './request'
//api列表

//info相关的请求
//获取列表
export const findAll = () => {
    return requests({
      url: '/findall',
      method: 'GET'
    })
};

//删除成员
export const delInfo = (id) => {
    return requests({
        url: '/del/' + id,
        method: 'DELETE'
    })
};

//添加成员
export const addInfo = (Info) => {
    return requests({
        url: '/add',
        method: 'POST',
        data: Info
    })
};